﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.ENTITYS
{
    public class RepostModelGPS_CANHBAO_GPXTL
    {
        public Int16? STT { get; set; }
        public string CB_PT_DVGTVT_MA { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:0}")]
        public decimal? CB_PT_MONTH { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:0}")]
        public decimal? CB_PT_YEAR { get; set; }
        public string CB_PT_BIENSO { get; set; }
        public string CB_PT_SOGPXTL { get; set; }
        public string CB_PT_CQCAPGPXTL { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? CB_PT_NGAYGPXTL { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? CB_PT_NGAYHHGPXTL { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? CB_PT_NGAYGCNKD { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime CB_PT_NGAYHHGCNKD { get; set; }
        public byte[] CB_PT_ANHXE { get; set; }

    }

    public class ViewReportModelGPS_CANHBAO_GPXTL
    {
        public int? Page { get; set; }
        //public int? Page { get; set; }

        [Display(Name = "pDVGTVT_MA")]
        public string pDVGTVT_MA { get; set; }
        public string ExportButton { get; set; }

        //[Display(Name = "pDVGTVT_MA")]
        //public string pDVGTVT_MA { get; set; }

        public IPagedList<RepostModelGPS_CANHBAO_GPXTL> SearchResults { get; set; }

    }
}
